﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWebServer
{
    public class Enums
    {
    }
    class PaiHangData
    {
        public string username = null;
        public int coin = 0;
        public int diamond = 0;
        public int sex = 0;
    }
    public enum PlayerPosition
    {
        dong, nan, xi,bei
    }
    public enum PaiXingPaiShu
    {
        t1=1, t2, t3, t4, t5, t6, t7, t8, t9,b1=21,b2,b3,b4,b5,b6,b7,b8,b9,w1=41,w2,w3,w4,w5,w6,w7,w8,w9,df=61,nf=71,xf=81,bf=91,hz=101,fc=111,bb=121
    }
    public enum PaiXing
    {
        tiao,bing,wan,feng
    }
    public enum Hupaileixing
    {
        buhu, pinhu, xiaoqidui,
        hunyise, qingyise, daduizi, dasanyuan,
        hunyise_daduizi, hunyise_dasanyuan, hunyise_xiaoqidui,
        qingyise_daduizi, qingyise_dasanyuan, qingyise_xiaoqidui,
        daduizi_dasanyuan,

        //单调将的情况

        //杠后出牌，杠上炮的情况
        gsp_pinhu, gsp_xiaoqidui,
        gsp_hunyise, gsp_qingyise, gsp_daduizi, gsp_dasanyuan,
        gsp_hunyise_daduizi, gsp_hunyise_dasanyuan, gsp_hunyise_xiaoqidui,
        gsp_qingyise_daduizi, gsp_qingyise_dasanyuan, gsp_qingyise_xiaoqidui,
        gsp_daduizi_dasanyuan,

        //抢杠的情况
        qg_pinhu, qg_xiaoqidui,
        qg_hunyise, qg_qingyise, qg_daduizi, qg_dasanyuan,
        qg_hunyise_daduizi, qg_hunyise_dasanyuan, qg_hunyise_xiaoqidui,
        qg_qingyise_daduizi, qg_qingyise_dasanyuan, qg_qingyise_xiaoqidui,
        qg_daduizi_dasanyuan,

        //双杠以后胡的情况


        //三杠以后胡的情况

    }

    public enum PengGangLeixing
    {
        Peng, Gang, BupengBuGang
    }

    public enum ChiPengGangLeixing
    {
        Chi, Peng, Gang, AnGang

    }


    public enum ZiMoLeixing
    {
        buzimo, zimo, xiaoqidui,
        hunyise, qingyise, daduizi, dasanyuan,
        hunyise_daduizi, hunyise_dasanyuan, hunyise_xiaoqidui,
        qingyise_daduizi, qingyise_dasanyuan, qingyise_xiaoqidui,
        daduizi_dasanyuan,

        mq_zimo,
        mq_hunyise, mq_qingyise, mq_daduizi, mq_dasanyuan,
        mq_hunyise_daduizi, mq_hunyise_dasanyuan, mq_hunyise_xiaoqidui,
        mq_qingyise_daduizi, mq_qingyise_dasanyuan, mq_qingyise_xiaoqidui,
        mq_daduizi_dasanyuan,

    }


    public enum ShangHuaLeiXing
    {
        bushanghua,
        //2番
        gangshanghua,
        hunyise_hua, dadui_hua,
        qingyise_hua, dasanyuan_hua,
        hunyise_dadui_hua, hunyise_dasanyuan_hua,
        qingyise_dadui_hua, qingyise_dasanyuan_hua,
        dadui_dasanyuan_hua,

        //门清
        mq_gangshanghua,
        mq_hunyise_hua, mq_dadui_hua,
        mq_qingyise_hua, mq_dasanyuan_hua,
        mq_hunyise_dadui_hua, mq_hunyise_dasanyuan_hua,
        mq_qingyise_dadui_hua, mq_qingyise_dasanyuan_hua,
        mq_dadui_dasanyuan_hua,

    }

    public enum OtherChuPaiResponse
    {
        none,
        hupai,
        pengpai,
        gangpai,
        chipai,
    }

    public enum RoomType
    {
        tongyong, xuezhan
    }

    public enum GameState
    {
        login, lobby, ready, gameing, score
    }

    public enum GameLevel
    {
        yupai, chuji, zhongji, gaoji
    }
    public enum BuyState
    {
        coin, diamond
    }
}
